import request from "@/utils/request";

const upload = (data) => {
  return request.post("api/public/utils/upload", data, {
    headers: {
      "Content-Type": "multipart/form-data",
    },
  });
};

export default {
  upload,
};
